<template>
	<view>
		<!--参数 医院Id和 从哪里跳转的  currentStatues -->
		<department :to="{name:'porp',params:{currentStatues:'1',id:this.id}}"></department>
	</view>
</template>

<script>
	import department from '../appointment/department.vue'
	export default {
		components: {
			department
		},
		data() {
			return {
				id:""
				
			}
		},
		onLoad(option) {
			this.$data.id = option.id
			// console.log(option.id)
		},
		created() {
			
		},
		methods: {
			getId(){
				this.id = this.$route.id
			}
		}
	}
</script>

<style>

</style>
